package com.qfedu.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.entity.RouteEntity;
import com.qfedu.entity.RouteGroupEntity;
import com.qfedu.util.Page;

import java.util.List;

public interface RouteService {


    public PageInfo<RouteEntity> queryList(RouteEntity re);

    public List<RouteGroupEntity> queryGroupList();

    public List<RouteEntity> queryByAddress(RouteEntity re);

    public List<RouteGroupEntity> queryGrList(RouteGroupEntity rgp);

    public RouteGroupEntity queryGroupById(int rgid);

    public RouteEntity queryRouteById(int rid);

    public List<RouteEntity> queryRouteList(RouteEntity re);

    public boolean del(int rid);

    public boolean deAll(String ids);

    public boolean update(RouteEntity re);

    public boolean insert(RouteEntity re);

    public boolean insertBoatRoute(int rid,int sid);

    public List<RouteEntity> queryRouteList();

    public boolean delgp(int rgid);

    public boolean delAllboatgroup(String ids);

    public boolean insertGroup(RouteGroupEntity rgp);

    public boolean updateGroup(RouteGroupEntity rgp);


}
